<?php

class m130726_165459_create_store_category_table extends Migration
{
	public function up()
	{
        $this->createTable('{{store_category}}', array(
            'id' => 'pk',
            'name' => 'string NOT NULL',
            'parent_id' => 'int NOT NULL',
            'created_at' => 'int NOT NULL',
            'updated_at' => 'int NOT NULL',
        ));
	}

	public function down()
	{
        $this->dropTable('{{store_categor}}');
		return true;
	}

}
